let isTrue: boolean = true;

let word: string = 'Hello';

let count: number = 10;

let numArr: number[] = [1, 2, 3];

let wordArr: string[] = ['hello', 'world'];
let wordArr2: Array<string> = ['Hello', 'TypeScript'];

let myTumple: [number, string, string, boolean] = [10, 'helllo', 'world', false];

enum WeekDay { Sun, Mon, Tues, Wed, Thur, Fri, Sat };
let friday: WeekDay = WeekDay.Fri;
let date: String = WeekDay[3];

enum Color { Red = 2, Green = 3, Blue = 0 }
let color: Color = Color.Blue;

let anyThing: any = 10;
anyThing = [1, 2, 3];
// console.log(anyThing.toFixed(2)); // 编译时不报错，运行报错


function sayHi(): void {
  console.log('Hello');
}
sayHi();

